import http from './httpInstance'


// 获取综合数据
function getzhsj(params) {
    return http({
        method: 'post',
        url: '/integrated-workbench/v1/publicsafety/workstation/summarize',
        data: params
    })
}

// 获取事件类型和事件趋势分析
function getsjlyqszfx(params) {
    return http({
        method: 'post',
        url: '/integrated-workbench/v1/publicsafety/workstation/statistics',
        data: params
    })
}

// 企业类型分析
function getqylx(params) {
    return http({
        method: 'post',
        url: '/integrated-workbench/v1/publicsafety/workstation/enterpriseanalysis',
        data: params
    })
}
// 隐患排查分析
function gethyhpcfx(params) {
    return http({
        method: 'post',
        url: '/integrated-workbench/v1/publicsafety/workstation/inspectissuesbar',
        data: params
    })
}

export {
    gethyhpcfx,
    getqylx,
    getsjlyqszfx,
    getzhsj
}